
#-------------------------------------------------------------------------------
# Configure variable
#-------------------------------------------------------------------------------
TOP_DIR:=$(TOP_DIR)
ROOT_DIR:=$(TOP_DIR)/../..
MAKEFILE_PATH :=$(subst $(strip \),/,$(abspath $(lastword $(MAKEFILE_LIST))))

include ..\make.settings
include ..\dflags.settings

#-------------------------------------------------------------------------------
# Configure source code files
#-------------------------------------------------------------------------------
SRC_FILES += \
   os\qlrtos\HAL_AT_UART_qlrtos.c \
   os\qlrtos\HAL_Device_qlrtos.c \
   os\qlrtos\HAL_Log_qlrtos.c \
   os\qlrtos\HAL_OS_qlrtos.c \
   os\qlrtos\HAL_TCP_qlrtos.c \
   os\qlrtos\HAL_Timer_qlrtos.c \
   os\qlrtos\HAL_UDP_qlrtos.c \

ifneq (y,$(strip $(FEATURE_AUTH_WITH_NOTLS)))
   SRC_FILES += \
      tls\mbedtls\HAL_DTLS_mbedtls.c \
      tls\mbedtls\HAL_TLS_mbedtls.c

endif

ifeq (y,$(strip $(FEATURE_AT_TCP_ENABLED)))
   SRC_FILES += \

endif

#-------------------------------------------------------------------------------
# the include directories
#-------------------------------------------------------------------------------
INC_DIRS+= \
   -I${TOP_DIR}/ \
   -I${TOP_DIR}/interface/init/inc \
   -I${TOP_DIR}/common/include \
   -I${TOP_DIR}/interface/os/inc \
   -I${TOP_DIR}/interface/driver/inc \
   -I${TOP_DIR}/interface/fs/inc \
   -I${TOP_DIR}/interface/network/sockets/inc \
   -I${TOP_DIR}/interface/network/data_call/inc \
   -I${TOP_DIR}/interface/time/inc \
   -I${TOP_DIR}/interface/third_party/qcloud-iot/include \
   -I${TOP_DIR}/interface/third_party/qcloud-iot/include/exports \
   -I${TOP_DIR}/interface/third_party/qcloud-iot/sdk_src/internal_inc

#-------------------------------------------------------------------------------
# Configure compile flag for C
#-------------------------------------------------------------------------------
U_FLAGS+= \

#-------------------------------------------------------------------------------
# Configure compile flag for C++
#-------------------------------------------------------------------------------
U_CPPFLAGS+=

#-------------------------------------------------------------------------------
# Configure default macro define
#-------------------------------------------------------------------------------
DFLAGS+= \
  -D__TM_ZONE=tm_zone \
  -D__TM_GMTOFF=tm_gmtoff \

#-------------------------------------------------------------------------------
# Configure link library
#-------------------------------------------------------------------------------
U_LIBS:=

#-------------------------------------------------------------------------------
# include mk file
#-------------------------------------------------------------------------------
include ${TOP_DIR}\config\common\makefile.mk
